/**
 * Created by liubin on 2014/06/06.
 */
Ext.define('Order.store.Store', {
    extend: 'Ext.data.Store',
    config: {
        autoLoad: true,
        //storeId: 'storeStore',
        model: 'Order.model.Store',
        proxy: {
            type:'rest',
            batchActions: true,
            url: 'api/store',
            reader: {
                type: 'json',
                rootProperty: 'data',
                clientIdProperty: 'id',
                successProperty: 'success'
            }
        }
    }
})